// -----------------------------------------------------------------------
// <copyright file=DanhSachDonThuocBusiness.cs company="QSoft Viet Nam">
// TODO: dangpp@qsoftvietnam.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class DanhSachDonThuocBusiness
    {
        DanhSachDonThuocDataAccess objDa = null;

        public DanhSachDonThuocBusiness()
        {
            objDa = new DanhSachDonThuocDataAccess();
        }

        public bool InsertDanhSachDonThuoc(DanhSachDonThuocEntity obj)
        {
            return objDa.InsertDanhSachDonThuoc(obj);
        }

        public bool EditDanhSachDonThuoc(DanhSachDonThuocEntity obj)
        {
            return objDa.EditDanhSachDonThuoc(obj);
        }

        public bool DeleteDanhSachDonThuoc(string maDonThuoc)
        {
            return objDa.DeleteDanhSachDonThuoc(maDonThuoc);
        }

        public DanhSachDonThuocEntity GetDanhSachDonThuoc(string maDonThuoc)
        {
            return objDa.GetDanhSachDonThuoc(maDonThuoc);
        }

        public IList<DanhSachDonThuocEntity> GetDanhSachDonThuocList()
        {
            return objDa.GetDanhSachDonThuocList();
        }

    }
}
